import Alert from './src/alert'
import Confirm from './src/confirm'
import Toast from './src/toast'
import Notify from './src/notify'
import Loading from './src/loading'
import Fly from './src/fly'
import Waiting from './src/waiting'
import Pop from './src/pop'
import PopNum from './src/popNum'

export {
  Confirm,
  Alert,
  Toast,
  Notify,
  Loading,
  Fly,
  PopNum
}
export default {
  install (Vue, options) {
    Vue.prototype.$loading = Loading
    Vue.prototype.$alert = Alert
    Vue.prototype.$notify = Notify
    Vue.prototype.$confirm = Confirm.Confirm
    Vue.prototype.$closed = Confirm.close
    Vue.prototype.$fly = Fly
    Vue.prototype.$toast = Toast
    Vue.prototype.$waiting = Waiting
    Vue.prototype.$popShow = Pop.show
    Vue.prototype.$popClose = Pop.close
    Vue.prototype.$popNum = PopNum.PopNum
    Vue.prototype.$popNumClose = PopNum.close
  }
}
